package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum WaybillStatusEnum {
    Taken(0, "已取件"),
    Transporting(1, "运输中"),
    Delivering(2, "派送中"),
    WaitForSign(3, "待签收")
    ;
    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    WaybillStatusEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}
